package Com.amit.corejava;

abstract class Maruti
{
	int limit=30;
	Maruti()
	{
		System.out.println("constructor is invoked");
	}
	abstract void run();
	
	public void getdetails()
	{
		System.out.println("get details");
	}
	
}
public class Lab66  extends Maruti{
	
	public void run()
	{
		System.out.println("Maruti is running");
	}
	
	public static void main(String[] args) {
		
		Maruti m=new Lab66();
		m.run();
		m.getdetails();
		System.out.println(m.limit);
		
	}

}
